home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970326-19970626
/
000097_news@columbia.edu _Sun Apr 20 19:44:53 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
4KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA28654
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 20 Apr 1997 19:44:52 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA21822
for kermit.misc@watsun; Sun, 20 Apr 1997 19:44:52 -0400 (EDT)
Path: news.columbia.edu!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!newshub2.home.com!news.home.com!su-news-hub1.bbnplanet.com!news.bbnplanet.com!newspeer.santaclara.agis.net!agis!nntp.mainstreet.net!bug.rahul.net!rahul.net!a2i!samba.rahul.net!rahul.net!a2i!jodell.a2i!jodell
From: Jake Odell <jodell@rahul.net>
Newsgroups: comp.protocols.kermit.misc
Subject: problems with INPUT in 3.1.3/3.1.4
Date: 20 Apr 1997 19:07:10 GMT
Organization: a2i network
Lines: 82
Message-ID: <5jdpgu$n06@samba.rahul.net>
NNTP-Posting-Host: waltz.rahul.net
NNTP-Posting-User: jodell
X-Newsreader: TIN [version 1.2 PL2]
Xref: news.columbia.edu comp.protocols.kermit.misc:6915
Hi..
I have been working on a script to log on to a Wildcat bbs, and have
encountered some problems using the INPUT script command. In my script,
it seems that the INPUT that looks for the "What is your first name?"
always terminates in a second or less never waiting for the expected
string, even when specifying a timeout value of 15. I've made a
temporary hack with a loop to finally capture the 'first name' prompt.
The INPUT returns FAILURE which it seems that should only happen on a
timeout without string match.
Here is the script:
log session
set term type none
set terminal apc off
set count 10
clear input-buffer
output atdt18005551212>\x0D
wait 45 CD
if failure forward dialfail
:get1stname
input 15 {first name?}
if failure forward writebuf
output myfirstname\x0D
input 5 {last name?}
output \x0D
input 5 password?
output mypassword\x0D
[...file transfer stuff deleted for brevity...]
:dialfail
hangup
close session
quit
:writebuf
if count goto cont2
hangup
close session
:cont2
pause 1
goto get1stname
;**end of script**
Here is what I see in session.log:
H<WC143701-92475472B533D4A1E3D6C>Wildcat! for Win95/NT (c) 1995,96 Mustang Software, Inc. All Rights Reserved.
Registration number: 01-9247. v5.00.437 (Mar 27 1997). Node: 2.
n
Connected at 19200 bps.
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
You have connected to node 2 on XYZ Info Corp
This system is operating on Wildcat! v5
Please make use of your real name on this BBS
DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
What is your first name? myfirstname
What is your last name?
Welcome MYFIRSTNAME.
What is your password? *******
Main Menu:
**** end of session log clip *******
I'm calling with a 486dx2/66 connected 'SET SPEED 38400' via 8250 uart
to a V.34 modem. The connections are usually between 14400 and 24000. I
have not observed any loss of data either from screens or in inbound
zmodem file transfers (written to a network drive, btw). Could the
higher interrupt rate needed to service the 8250 be interfering with the
timing mechanism used by INPUT? (You're right, I'm to the point of
grasping for straws)
What trivial little detail am I missing?
--
Jake Odell ** jake@pantheon.net ** jodell@rahul.net